package com.qiuzhi.service;

import com.qiuzhi.spring.InitializingBean;
import com.qiuzhi.spring.annotations.Autowired;
import com.qiuzhi.spring.annotations.Component;
import com.qiuzhi.spring.annotations.Scope;

@Component("userService")
@Scope("prototype")
public class UserServiceImpl implements InitializingBean,IUserService {

//    @Autowired
//    private OrderService orderService;

//    public void test(){
//        System.out.println(orderService);
//    }

    @Override
    public void afterPropertiesSet() {

    }


    @Override
    public void show() {
        System.out.println("show方法");
    }
}
